package com.leyou.item.entity;

import lombok.Data;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * @version V1.0
 * @author: Ljxpa
 * @date: 2020/03/07 15:06
 * @description: mysql中tb_spec_param表的pojo类
 */
@Table(name = "tb_spec_param")
@Data
public class SpecParam {
	@Id
	@KeySql(useGeneratedKeys = true)
	private Long id;
	private Long cid;
	private Long groupId;
	private String name;
	// @Column(name = "`numeric`")
	private Boolean numeric;
	private String unit;
	private Boolean generic;
	private Boolean searching;
	private String segments;
	private Date createTime;
	private Date updateTime;
}
